package ChainOfResponsibility;

/**
 * @Author zhangjinxi
 * @Date: Created in 13:49 2018/3/1
 * @Description:
 */
public class Handler1 extends AbstractHandler implements Handler {

    @Override
    public void operator() {
        System.out.println("handler1 operator!");
        if (getHandler() != null) {
            getHandler().operator();
        }
    }

}
